/*
 * Initializeable.h
 *
 *  Created on: Mar 26, 2011
 *      Author: christoph
 */

#ifndef INITIALIZEABLE_H_
#define INITIALIZEABLE_H_

namespace glwak {

class Initializeable {
public:
	Initializeable();
	virtual ~Initializeable();

	bool isInitialized() const;
	void initialize();

protected:
	virtual void initializeImpl()=0;

private:
	bool initialized;
};

}

#endif /* INITIALIZEABLE_H_ */
